package com.nyist.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import com.nyist.entity.Relation;
@Component
public interface RelationDAO {
	public void save(Relation relation);
	public int selectRoleIdByManageid(String manageid);
	public String selectDiscriptionByManageid(int roleid);
	public String selectRoleByRoleid(int roleid);
	/*修改为管理员权限使用*/
	public void updatePower(@Param("manageid")String manageid,@Param("roleid")int roleid);
	
}
